package com.zhang.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhang.entity.ShoppingCategory1;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhang.vo.Category1Vo;
import org.apache.ibatis.annotations.Param;

import java.io.StringReader;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZhangD
 * @since 2021-07-13
 */
public interface ShoppingCategory1Service extends IService<ShoppingCategory1> {

    List<ShoppingCategory1> selectShoppingCategory1();

    Page<ShoppingCategory1> category1Name(String name, int  pageNo, int pageSize);

    int changeValue(String id);

    ShoppingCategory1 getCategory(String id);

    int addCategory1(String name,String record);

    int updateCategory1(String id, String name, String record);

}
